package com.zr.service;

import com.zr.pojo.Article;
import com.zr.pojo.vo.ArticleVO;

import java.util.List;

public interface ArticleService {
    Boolean add(ArticleVO articleVO, String fileName, String userName);
    Boolean deleteById(int id);
    List<Article> selectAll(int pagenum, int pagesize, int cate_id, String state);
    Article selectById(int id);
    Boolean updateById(ArticleVO articleVO, String fileName);

}
